package cn.wolfcode.shop.member.vo;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Setter
@Getter
public class LoginVO implements Serializable {

    @Pattern(regexp = "^[1][3|4|5|7|8][0-9]{9}$",message = "手机号码格式错误!")
    public String mobile;
    public String password;

}
